/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entity;

import java.io.Serializable;

/**
 *
 * @author DungTV
 */
public class Customer implements Serializable{
    private int userID;
    private String username;
    private transient String password;
    private boolean admin;
    private boolean online;

    public Customer() {
    }

    public Customer(int userID, String username, String password, boolean admin, boolean online) {
        this.userID = userID;
        this.username = username;
        this.password = password;
        this.admin = admin;
        this.online = online;
    }


    

    public boolean isAdmin() {
        return admin;
    }

    public void setAdmin(boolean admin) {
        this.admin = admin;
    }

    public boolean isOnline() {
        return online;
    }

    public void setOnline(boolean online) {
        this.online = online;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


}
